package com.sec.android.app.myfiles.util.animation.interpolator;

import android.view.animation.BaseInterpolator;

/**
 * Created by yunju.cha on 2016-10-05.
 */
public class SineInOut90 extends BaseInterpolator {
    private static final float[][] segments = {
            {0.0f, 0.000f, 0.247f}, {0.247f, 0.48f, 0.720f},
            {0.700f, 0.835f, 0.905f}, {0.910f, 0.955f, 0.978f},
            {0.978f, 0.9999f, 1.0f}};

    public SineInOut90() {
    }

    // b = 0, c = 1, d = 1, t = input
    public float getInterpolation(float input) {
        return SineBase.getInterpolation(input, segments);
    }
}